//
//  WLBindingRouterSetCell.m
//  WanLian
//
//  Created by muzhuang on 2018/10/23.
//  Copyright © 2018年 wanlian. All rights reserved.
//

#import "WLBindingRouterSetCell.h"

@implementation WLBindingRouterSetCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _labTitle = [[UILabel alloc] initWithFrame:CGRectMake(WLScaleX(16), WLScaleX(5), 35, WLScaleX(30))];
        _labTitle.font = [WLCommonTool fontTypePingFangSCRegular:14];
        _labTitle.textColor = wlBlackColor;
        [self.contentView addSubview:_labTitle];
        
        _textNetInfo = [[UITextField alloc] initWithFrame:CGRectMake(WLScaleX(16)+40, WLScaleX(2), 200, WLScaleX(36))];
        _textNetInfo.font = [WLCommonTool fontTypePingFangSCRegular:14];
        _textNetInfo.textColor = wlDarkGrayColor;
        [_textNetInfo addTarget:self action:@selector(textFieldReturn:) forControlEvents:UIControlEventEditingDidEndOnExit];
        [self.contentView addSubview:_textNetInfo];
    }
    return self;
}

- (void)textFieldReturn:(UITextField *)textField
{
    [textField resignFirstResponder];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
